﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;
namespace AppFabricSample.Data
{
    public static class CacheKey<T>
    {
        public static string ForStudentByName(String Name)
        {

            String ClassName = typeof(T).AssemblyQualifiedName;
            return String.Format(ClassName+"^GetStudentByName^{0}", Name);
        }

        public static string ForStudentByRollNo(int studentId)
        {
            String ClassName = typeof(T).AssemblyQualifiedName;
            return String.Format(ClassName + "^GetStudentByRollNo^{0}", studentId);
        }
        
    }
}